#ifndef __BRANCH1_MODEL_COLLISION_CALLBACK_H__
#define __BRANCH1_MODEL_COLLISION_CALLBACK_H__
#include "ModelConfig.h"
#include <OgreNewt.h>
#include "Player.h"
class Player;
class PlayerDansCollisionCallback : public OgreNewt::ContactCallback
{
public:
	PlayerDansCollisionCallback(Player* player);
	virtual ~PlayerDansCollisionCallback();
	int onAABBOverlap( OgreNewt::Body* body0, OgreNewt::Body* body1, int threadIndex );

	void contactsProcess( OgreNewt::ContactJoint &contactJoint, Ogre::Real timeStep, int threadIndex );
private:
	Player* _player;
};
#endif